{include file="templates/default/share/header.tpl"}

<article id="examples">
	<div class="wrapper">
		<div class="content">
			<h1 class="title_img new-games">{$text_newest_games}</h1>
			<div class="ads_728x90 mb20">{include file="templates/ads/ads_responsive.tpl"}</div>
			
			<ol id="breadcrumb">
		        <li class="home"><a href="/" title="{$text_home}">{$text_home}</a></li>
		        <li>{$text_newest_games}</li>
		    </ol>

		    <p class="mb40"></p>
			{if !empty($panigation)}
				<div class="pagination">
					<ol class="paginate pag4">{$panigation}</ol>
				</div>
			{/if}
			{if empty($listgames)}
				<h2>Games is updating...</h2>
			{else}
				<ul>
				{foreach $listgames as $key=>$value}
					<li>
						<a href="{$control_play}{$value['g_url']}.html" title="{$value['g_name']} {$title_text_game}">
							<img src="{$value['images']}" width="{$width}" height="{$height}" alt="{$value['g_name']} {$title_text_game}" />
							<h4>{$value['g_name']}</h4>
						</a>
					</li>
				{/foreach}
				</ul>
			{/if}
			{if !empty($panigation)}
				<div class="pagination">
					<ol class="paginate pag4">{$panigation}</ol>
				</div>
			{/if}
		</div>
		<div class="sidebar">
			{include file="templates/default/share/sidebar.tpl"}
		</div>
	</div>
</article>

{include file="templates/default/share/footer.tpl"}